<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mloggamescores extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "log_game_scores";
    public $primaryKey = "log_gscores_id";
    public $resCode = "LOG_GAME_SCORES";

    function __construct() {
        parent::__construct();
    }

    function field() {
		$fieldData = array();
		$fieldData['game_id'] = 0;
		$fieldData['use_id'] = 0;
		$fieldData['log_gscores_time'] = 0;
		$fieldData['log_gscores_code'] = '';
		$fieldData['log_gscores_referrer'] = '';
		$fieldData['log_gscores_ip'] = '';
		$fieldData['log_gscores_browser'] = '';
		$fieldData['log_gscores_platform'] = '';
		$fieldData['log_gscores_agent'] = '';
		$fieldData['log_gscores_game_key'] = '';
		return $fieldData;
    }
	
}

?>